home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / BROWSER.XPI / bin / chrome / help.jar / content / help / help.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-12-22  |  12.9 KB  |  327 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://communicator/skin/help.css" type="text/css"?>
  3. <?xml-stylesheet href="chrome://navigator/skin" type="text/css"?>
  4. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  5. <?xml-stylesheet href="chrome://help/content/platformClasses.css" type="text/css"?>
  6.  
  7. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  8. <?xul-overlay href="chrome://help/content/helpContextOverlay.xul"?>
  9. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  10. <?xul-overlay href="chrome://navigator/content/platformNavigationBindings.xul"?>
  11. <?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
  12.  
  13. <!DOCTYPE window SYSTEM "chrome://help/locale/help.dtd">
  14.  
  15. <window id="help"
  16.    windowtype="mozilla:help"
  17.    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  18.    width="480"
  19.    height="360"
  20.    persist="width height screenX screenY"
  21.    onload="init();"
  22.    onunload="window.XULBrowserWindow.destroy();">
  23.  
  24.   <script type="application/x-javascript" src="chrome://help/content/help.js"/>
  25.   <script type="application/x-javascript" src="chrome://navigator/content/sessionHistoryUI.js"/>
  26.   <script type="application/x-javascript" src="chrome://communicator/content/findUtils.js"/>
  27.  
  28.   <menupopup id="backMenu" position="after_start"
  29.      onpopupshowing="return createBackMenu(event);" oncommand="gotoHistoryIndex(event);"/>
  30.   <menupopup id="forwardMenu" position="after_start"
  31.      onpopupshowing="return createForwardMenu(event);" oncommand="gotoHistoryIndex(event);"/>
  32.   <popupset id="helpContextSet"/>
  33.   <broadcasterset id="helpBroadcasters">
  34.     <broadcaster id="canGoBack"    disabled="true"/>
  35.     <broadcaster id="canGoForward" disabled="true"/>
  36.   </broadcasterset>
  37.   <commandset id="globalEditMenuItems"/>
  38.   <commandset id="selectEditMenuItems">
  39.     <command id="cmd_undo"/>
  40.     <command id="cmd_redo"/>
  41.     <command id="cmd_cut"/>
  42.     <command id="cmd_copy"/>
  43.     <command id="cmd_paste"/>
  44.     <command id="cmd_delete"/>
  45.     <command id="cmd_selectAll"/>
  46.     <command id="cmd_close" oncommand="close();"/>
  47.     <command id="Browser:Home"    oncommand="goHome();"/>
  48.     <command id="Browser:Back"    oncommand="goBack();"    observes="canGoBack"/>
  49.     <command id="Browser:Forward" oncommand="goForward();" observes="canGoForward"/>
  50.     <command id="cmd_copyLink"/>
  51.   </commandset>
  52.   <commandset id="clipboardEditMenuItems"/>
  53.   <commandset id="viewZoomCommands"/>
  54.   <keyset id="keys">
  55.     <key id="key_close"/>
  56.     <key id="printKb" key="&printCmd.commandkey;" oncommand="print();" modifiers="accel"/>
  57.     <keyset id="viewZoomKeys"/>
  58.     <keyset id="navigationKeys">
  59.       <!-- The stop keybindings are navigator-only -->
  60.       <key id="key_stop" disabled="true"/>
  61.       <key id="key_stop2" disabled="true"/>
  62.     </keyset>
  63.     <key id="key_find"
  64.         key="&findOnCmd.commandkey;" oncommand="find(false, false);" modifiers="accel"/>
  65.     <key id="key_findAgain"
  66.         key="&findAgainCmd.commandkey;" oncommand="find(true, false);" modifiers="accel"/>
  67.     <key id="key_findPrev"
  68.         key="&findPrevCmd.commandkey;" oncommand="find(true, true);" modifiers="accel, shift"/>
  69.     <key id="key_findAgain2" keycode="&findAgainCmd.commandkey2;" oncommand="find(true, false);"/>
  70.     <key id="key_findPrev2"  keycode="&findPrevCmd.commandkey2;"  oncommand="find(true, true);"  modifiers="shift"/>
  71.     <key id="key_viewNextHelpPanel" keycode="VK_TAB" oncommand="showRelativePanel(true);" modifiers="control"/>
  72.     <key id="key_viewPrevHelpPanel" keycode="VK_TAB" oncommand="showRelativePanel(false);" modifiers="control,shift"/>
  73.   </keyset>
  74.   <stringbundle id="bundle_viewZoom"/>
  75.   <stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
  76.  
  77.   <vbox flex="1">
  78.  
  79.   <!-- button bar -->
  80.   <toolbox id="help-toolbox" class="toolbox-top" deferattached="true">
  81.     <toolbar id="helpToolbar" class="toolbar-primary chromeclass-toolbar"
  82.         grippytooltiptext="&toolbar.tooltip;"
  83.         tbalign="stretch" persist="collapsed">
  84.  
  85.         <toolbarbutton id="helpBackButton" type="menu-button" class="toolbarbutton-1"
  86.           label="&backButton.label;" 
  87.           oncommand="if (event.target==this) goBack(); else gotoHistoryIndex(event);"
  88.           observes="canGoBack" context="backMenu"
  89.           tooltiptext="&backButton.tooltip;">
  90.           <menupopup context="" onpopupshowing="createBackMenu(event);"/>
  91.         </toolbarbutton>
  92.         <toolbarbutton id="helpForwardButton" type="menu-button" class="toolbarbutton-1"
  93.           label="&forwardButton.label;" 
  94.           tooltiptext="&forwardButton.tooltip;"
  95.           oncommand="if (event.target==this) goForward(); else gotoHistoryIndex(event);"
  96.           observes="canGoForward" context="forwardMenu">
  97.           <menupopup context="" onpopupshowing="createForwardMenu(event);"/>
  98.         </toolbarbutton>
  99.         <toolbarbutton id="helpHomeButton" class="toolbarbutton-1"
  100.           label="&homeButton.label;" oncommand="goHome();"
  101.           tooltiptext="&homeButton.tooltip;"/>
  102.  
  103.         <spacer flex="1"/>
  104.  
  105.         <toolbarbutton id="helpPrintButton" class="toolbarbutton-1"
  106.           label="&printButton.label;" oncommand="print();"
  107.           tooltiptext="&printButton.tooltip;"/>
  108.  
  109.         <hbox id="throbber-box" align="center">
  110.           <button id="navigator-throbber" oncommand="goHome();" tooltiptext="&helpThrobber.tooltip;"/>
  111.         </hbox>
  112.       </toolbar>
  113.     </toolbox>
  114.  
  115.     <!-- the two help panes (sidebar & content) -->
  116.     <hbox flex="1">
  117.       <vbox id="helpsidebar-box" persist="width">
  118.  
  119.          <!-- glossary panel -->
  120.          <toolbarbutton id="help-glossary-btn" class="box-texttab"
  121.             label="&glossarytab.label;" oncommand="showPanel('help-glossary')"
  122.             accesskey="&glossarytab.accesskey;"/>
  123.          <tree id="help-glossary-panel" class="focusring"
  124.                flex="1" hidecolumnpicker="true" hidden="true"
  125.                datasources="rdf:null" ref="urn:root"
  126.                containment="http://home.netscape.com/NC-rdf#subheadings"
  127.                flags="dont-build-content"
  128.                onselect="onselect_loadURI(this);">
  129.         <template>
  130.           <rule>
  131.           <conditions>
  132.             <content uri="?uri"/>
  133.             <triple subject="?uri"
  134.               predicate="http://home.netscape.com/NC-rdf#subheadings"
  135.               object="?subheadings"/>
  136.             <member container="?subheadings" child="?subheading"/>
  137.           </conditions>
  138.           <bindings>
  139.             <binding subject="?subheading"
  140.               predicate="http://home.netscape.com/NC-rdf#name"
  141.               object="?name"/>
  142.           </bindings>
  143.  
  144.           <action>
  145.             <treechildren>
  146.               <treeitem uri="?subheading">
  147.                 <treerow>
  148.                   <treecell label="?name"/>
  149.                 </treerow>
  150.               </treeitem>
  151.             </treechildren>
  152.           </action>
  153.           </rule>
  154.         </template>
  155.             <treecols>
  156.                <treecol id="GlossaryNameColumn" flex="1"
  157.                   hideheader="true"/>
  158.             </treecols>
  159.          </tree>
  160.  
  161.      <!-- index panel -->
  162.          <toolbarbutton id="help-index-btn" class="box-texttab"
  163.             label="&indextab.label;"  oncommand="showPanel('help-index');displayIndex();"
  164.             accesskey="&indextab.accesskey;"/>
  165.  
  166.          <tree id="help-index-panel" class="focusring"
  167.                flex="1" hidecolumnpicker="true" hidden="true"
  168.                datasources="rdf:null" ref="urn:root"
  169.                containment="http://home.netscape.com/NC-rdf#subheadings"
  170.                flags="dont-build-content dont-test-empty"
  171.                onselect="onselect_loadURI(this);">
  172.         <template>
  173.           <rule>
  174.           <conditions>
  175.             <content uri="?uri"/>
  176.             <triple subject="?uri"
  177.               predicate="http://home.netscape.com/NC-rdf#subheadings"
  178.               object="?subheadings"/>
  179.             <member container="?subheadings" child="?subheading"/>
  180.           </conditions>
  181.           <bindings>
  182.             <binding subject="?subheading"
  183.               predicate="http://home.netscape.com/NC-rdf#name"
  184.               object="?name"/>
  185.           </bindings>
  186.  
  187.           <action>
  188.             <treechildren>
  189.               <treeitem uri="?subheading">
  190.                 <treerow>
  191.                   <treecell label="?name"/>
  192.                 </treerow>
  193.               </treeitem>
  194.             </treechildren>
  195.           </action>
  196.           </rule>
  197.         </template>
  198.             <treecols>
  199.                <treecol id="IndexNameColumn" flex="1"
  200.                   hideheader="true"
  201.                   primary="true"
  202.                   sortActive="true"
  203.                   sortDirection="ascending"
  204.                   sort="?name"/>
  205.             </treecols>
  206.          </tree>
  207.  
  208.      <!-- search panel -->
  209.      <toolbarbutton id="help-search-btn" class="box-texttab"
  210.              label="&searchtab.label;" oncommand="showPanel('help-search')"
  211.              accesskey="&searchtab.accesskey;"/>
  212.  
  213.              <vbox id="help-search-panel" hidden="true" flex="1">
  214.                 <textbox id="findText" type="timed" timeout="500"
  215.                          oncommand="doFind();"/>
  216.                 <tree id="help-search-tree" class="focusring"
  217.                       flex="1" hidecolumnpicker="true"
  218.                       datasources="rdf:null" ref="urn:root"
  219.                       containment="http://home.netscape.com/NC-rdf#child"
  220.                       flags="dont-build-content"
  221.                       onselect="onselect_loadURI(this);">
  222.             <template>
  223.               <rule>
  224.                 <conditions>
  225.                   <content uri="?uri"/>
  226.                   <member container="?uri" child="?subheading"/>
  227.                 </conditions>
  228.  
  229.                 <bindings>
  230.                   <binding subject="?subheading"
  231.                    predicate="http://home.netscape.com/NC-rdf#name"
  232.                    object="?name"/>
  233.                 </bindings>
  234.  
  235.                 <action>
  236.                   <treechildren>
  237.                     <treeitem uri="?subheading">
  238.                       <treerow>
  239.                         <treecell label="?name"/>
  240.                       </treerow>
  241.                     </treeitem>
  242.                   </treechildren>
  243.                 </action>
  244.               </rule>
  245.             </template>
  246.  
  247.                  <treecols>
  248.                     <treecol id="ResultsColumn" flex="1"
  249.                              hideheader="true"
  250.                              sortActive="true"
  251.                              sortDirection="ascending"
  252.                              sort="?name"/>
  253.                  </treecols>
  254.           </tree>
  255.        </vbox>
  256.  
  257.        <!-- table of contents panel -->
  258.        <toolbarbutton id="help-toc-btn" class="box-texttab"
  259.           label="&toctab.label;" oncommand="showPanel('help-toc')"
  260.           accesskey="&toctab.accesskey;"/>
  261.           <tree id="help-toc-panel" class="focusring"
  262.                 flex="1" hidecolumnpicker="true"
  263.                 datasources="rdf:null" ref="urn:root"
  264.                 containment="http://home.netscape.com/NC-rdf#subheadings"
  265.                 flags="dont-build-content"
  266.                 onselect="onselect_loadURI(this);">
  267.           <template>
  268.             <rule>
  269.               <conditions>
  270.                <content uri="?uri"/>
  271.                <triple subject="?uri"
  272.                  predicate="http://home.netscape.com/NC-rdf#subheadings"
  273.                  object="?subheadings"/>
  274.                <member container="?subheadings" child="?subheading"/>
  275.               </conditions>
  276.  
  277.               <bindings>
  278.                <binding subject="?subheading"
  279.                  predicate="http://home.netscape.com/NC-rdf#name"
  280.                  object="?name"/>
  281.               </bindings>
  282.  
  283.               <action>
  284.                 <treechildren>
  285.                   <treeitem uri="?subheading">
  286.                     <treerow>
  287.                       <treecell label="?name"/>
  288.                     </treerow>
  289.                   </treeitem>
  290.               </treechildren>
  291.             </action>
  292.           </rule>
  293.         </template>
  294.             <treecols>
  295.                <treecol id="NameColumn" flex="1"
  296.                         hideheader="true" primary="true"/>
  297.             </treecols>
  298.          </tree>
  299.  
  300.  
  301.  
  302.       </vbox>
  303.  
  304.       <splitter id="helpsidebar-splitter"
  305.           collapse="before"
  306.           persist="state hidden"
  307.           state="open">
  308.           <grippy/>
  309.       </splitter>
  310.  
  311.       <!-- this stuff lifted from navigator.xul -->
  312.       <vbox id="appcontent" flex="3">
  313.         <!-- this box is temporary, pending XBLified <browser> -->
  314.         <hbox id="browser" flex="1">
  315.           <!-- type attribute is used by frame construction to locate iframes
  316.                intended to hold (html) content -->
  317.           <browser context="helpContextMenu" type="content-primary" id="help-content"
  318.               src="about:blank" flex="1" onclick="return contentClick(event);"/>
  319.           <browser type="content" id="help-external" collapsed="true"/>
  320.         </hbox>
  321.       </vbox>
  322.     </hbox>
  323.   </vbox>
  324.   <!-- Make sure the down-scroll arrow is visible on Mac (bug 56488) -->
  325.   <statusbar id="statusbarDummy" class="mac"/>
  326. </window>
  327.